<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="__STATIC__/common/layui/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/view.css"/>
    <link rel="stylesheet" href="__STATIC__/admin/css/admin.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/styles.css">
    <link rel="stylesheet" href="__STATIC__/common/font/css/font-awesome.css">
    <link rel="icon" href="__STATIC__/admin/images/favicon.ico">
    <title>管理后台</title>
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header custom-header">
            <ul class="layui-nav layui-layout-left lefts">
                <li class="layui-nav-item onmousemovebtns" lay-unselect id="slide-sidebar" tipsmsg="伸缩">
                    <a href="javascript:;" class="icon-font"><i class="ai ai-menufold icons"></i></a>
                </li>
                <li class="layui-nav-item onmousemovebtns" lay-unselect tipsmsg="回到首页">
                     <a href="{:url('index/index')}"><i class="fa fa-home icons" aria-hidden="true" style="font-size: 18px;"></i></a>
                </li>
                <li class="layui-nav-item admin-side-full onmousemovebtns" lay-unselect tipsmsg="全屏">
                     <a href="javascript:;"><i class="fa fa-arrows icons" aria-hidden="true"></i></a>
                </li>
                <li class="layui-nav-item onmousemovebtns" lay-unselect id="cache" tipsmsg="清除缓存">
                     <a href="javascript:location.replace(location.href);"><i class="fa fa-eraser icons" aria-hidden="true"></i></a>
                </li>
                <li class="layui-nav-item onmousemovebtns" lay-unselect tipsmsg="刷新">
                     <a href="javascript:location.replace(location.href);"><i class="fa fa-history falocation icons" aria-hidden="true"></i></a>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">
              <li class="layui-nav-item" lay-unselect="">
                <a href="javascript:;">
                    {if condition="$admininfo.avatar neq null"}
                        <img class="headimg" src="__PUBLIC__{$admininfo.avatar}">
                    {else/}
                        <img class="headimg"  src="__STATIC__/admin/images/head.jpg"/>
                    {/if}
                &nbsp;{:session('username')}&nbsp;&nbsp;
                </a>
                <dl class="layui-nav-child layui-nav-childs">
                  <dd><a onclick="x_admin_show('个人资料','{:url('auth/adminedit')}?id={:session('adminid')}','500px','480px','95%','95%')"><i class="fa fa-user" aria-hidden="true"></i>&nbsp;个人资料</a></dd>
                  <dd><a onclick="x_admin_show('修改密码','{:url('auth/editpass')}?id={:session('adminid')}','400px','240px','95%','65%')"><i class="fa fa-edit" aria-hidden="true"></i>&nbsp;修改密码</a></dd>
                  <dd><a href="{:url('login/loginout')}"><i class="fa fa-sign-out" aria-hidden="true"></i>&nbsp;退出</a></dd>
                </dl>
              </li>
            </ul>
        </div>
        <div class="layui-side custom-admin">
            <div class="layui-side-scroll">
                <div class="custom-logo">
                    <img src="__STATIC__/admin/images/logo.png" alt=""/>
                    <h1 style="letter-spacing: 2px;font-family:楷体;font-size: 21px;">后台管理</h1>
                   <!--  <h1>Admin Pro</h1> -->
                </div>
                <ul class="layui-nav layui-nav-tree"  id="Nav">
                    {volist name="menus" id="vo"}
                    <li class="layui-nav-item {if $urls == $vo.href}layui-nav-itemed{/if}">
                        <a class="is" href="javascript:;">
                            <i class="fa fa-{$vo.icon}" aria-hidden="true" style="line-height: 50px !important;"></i>
                            <em>{$vo.title}</em>
                        </a>
                        {notempty name="vo.children"}
                        <dl class="layui-nav-child">
                            {volist name="vo.children" id="vos"}
                            <dd {eq name="vos.href|substrs" value="$url"}class="layui-this"{/eq}>
                               <a href="{$vos.href}"><i class="fa fa-{$vos.icon}" aria-hidden="true"></i>{$vos.title}</a>
                            </dd>
                            {/volist}
                        </dl>
                        {/notempty}


                    </li>
                    {/volist}
                </ul>

            </div>
        </div>
        <div class="layui-body">
            <div class="layui-content">
